﻿@using HiLand.Utility4.MVC;
@{
    ViewBag.Title = "后台管理";
    string currentUserName = string.Empty;
    bool isAuthenticated = this.Request.RequestContext.HttpContext.User.Identity.IsAuthenticated;
    if (isAuthenticated == true)
    {
        currentUserName = this.Request.RequestContext.HttpContext.User.Identity.Name;
    }
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>@ViewBag.Title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="@Url.Content("~/Content/reset.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/style.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/adminStyle.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/notificationStyle.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/invalid.css")" type="text/css" media="screen" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/simpla.jquery.configuration.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/facebox.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.wysiwyg.js")"></script>
    <script src="@Url.Content("~/Scripts/jQuery.effect.tableRow.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.effect.listItem.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.form.2.84.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.tools.min.js")" type="text/javascript"></script>
    @*<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.datePicker.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.date.js")"></script>*@
</head>
<body>
    <div id="body-wrapper">
        <!-- Wrapper for the radial gradient background -->
        <div id="sidebar">
            <div id="sidebar-wrapper">
                <!-- Sidebar with logo and menu -->
                <h1 id="sidebar-title">
                    <a href="#">Simpla Admin</a></h1>
                <!-- Logo (221px wide) -->
                <a href="#">
                    <img id="logo" src="@Url.Content("~/Content/manageImages/logo.png")" alt="logo" /></a>
                <!-- Sidebar Profile links -->
                <div id="profile-links">
                    Hello, @currentUserName
                    <br />
                    <a href="#" title="View the Site">View the Site</a> | <a href="#" title="Sign Out">Sign
                        Out</a>
                </div>
                <ul id="main-nav">
                    <!-- Accordion Menu -->
                    <li><a id="aDashboardSection" href="@Url.Action("Index", "Main")" class="nav-top-item no-submenu">
                        <!-- Add the class "no-submenu" to menu items with no sub menu -->
                        Dashboard </a></li>
                    <li><a id="aSecuredLoanSection" href="#" class="nav-top-item">
                        <!-- Add the class "current" to current menu item -->
                        Secured Loan</a>
                        <ul>
                            <li><a  id="aSecuredLoanList"  href="@Url.Action("SecuredLoanList", "SecuredLoan")">
                                Secured Loan List</a></li>
                        </ul>
                    </li>
                    <li><a id="aUnSecuredLoanSection" href="#" class="nav-top-item">UnSecured Loan</a>
                        <ul>
                            <li><a id="aUnSecuredLoanList" href="@Url.Action("UnSecuredLoanList", "UnSecuredLoan")">UnSecured Loan List</a></li>
                        </ul>
                    </li>
                    <li><a id="aSettingSection" href="#" class="nav-top-item">Settings</a>
                        <ul>
                            <li><a id="aChangePassword" href="@Url.Action("ChangePassword", "Account")">Change Password</a></li>
                            <li><a id="aSystemSetting" href="#">System Setting</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <!-- End #sidebar -->
        <div id="main-content">
            <!-- Page Head -->
            <p style="text-align: right">
                Welcome to GBFinance manage console<a name="#top"></a>
            </p>
            <div class="clear">
            </div>
            @RenderBody()
            <div id="footer">
                <small>&copy; Copyright 2011 GBFinance | <a href="#top">Top</a> </small>
            </div>
        </div>
    </div>
</body>
</html>
